package com.xgd.phylw.mapper;

import com.xgd.phylw.bean.Orderd;
import com.xgd.phylw.bean.OrderdExample;
import java.util.List;

import com.xgd.phylw.dto.OrderScheduleMovieHallDto;
import org.apache.ibatis.annotations.Param;

public interface OrderdMapper {
    long countByExample(OrderdExample example);
    List<Orderd> countByOrder();//根据时间分组，orderId 暂用 conut条数
    long countBy();

    int deleteByExample(OrderdExample example);

    int deleteByPrimaryKey(Integer orderId);

    int insert(Orderd record);

    int insertSelective(Orderd record);

    int insertByOrder(@Param("orderdList") List<Orderd> orderdList);

    List<Orderd> selectByExample(OrderdExample example);

    List<Orderd> selectAllOrderd();

    List<Orderd> likeOrderd(String val);

    Orderd selectByPrimaryKey(Integer orderId);

    int updateByExampleSelective(@Param("record") Orderd record, @Param("example") OrderdExample example);

    int updateByExample(@Param("record") Orderd record, @Param("example") OrderdExample example);

    int updateByPrimaryKeySelective(Orderd record);

    int updateByPrimaryKey(Orderd record);

    int deleteByPrimaryKeyArray(int[] checkIdArray);

    List<OrderScheduleMovieHallDto> selectByMemberName(String memberName);
}